New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a procedure for repairing limbs via surgery. #5386
Add a procedure for repairing limbs via surgery. #5386
Conversation
367293c
to
4314080
Compare
I love it. |
@@ -167,21 +167,24 @@ | |||
if(!istype(M)) | |||
return 0 | |||
|
|||
if (user.a_intent == I_HELP) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"If they ARE on help intent, call the parent proc instead" == "If they AREN'T on help intent, actually perform the specific surgery applications of this tool
Afaik surgery is typically done explicitly on help intent, so is this intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Surgery is done on help intent, yes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you are not on help, you will do the normal 'person is dead, do forensics scan'. Otherwise, it will attempt the living surgery for scanning internal damage. Help is required because the parent checks for help.
https://forum.ss13polaris.com/viewtopic.php?f=14&t=364 We had a forum post about it back in Novmlember, but the discussion died. |
Is it possible to use this surgery to lower Brute/Burn damage on corpses with this surgery? If so, could this be used to defib someone from an arbitrary amount of Brute/Burn damage? I'm concerned that this will be added, exploited for True Resurrection(tm), and then promptly removed or gutted in response. |
There is a specific check if they are alive in the base step's can_use to prevent using this for defibbing. |
Nice! Good to hear. |
/datum/surgery_step/repairflesh/scan_injury | ||
allowed_tools = list( | ||
/obj/item/weapon/autopsy_scanner = 100, | ||
/obj/item/device/healthanalyzer = 50, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bump this up to 80, please. Not everyone who's gonna want to do this surgery (ie. antags) is going to have an autopsy scanner at hand.
4314080
to
4b78966
Compare
This seems good to merge, but it absolutely must be put on the wiki once it's implemented. |
Tweaks:
Features:
Steps:
Scalpel, Hemostat, Retractor [Standard Opening] - > Autopsy Scanner - > Trauma kit or Adv Burn Kit, depending on damage type(s) present.